<!-- $Id: service_wz_info.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
<div class="main-div">
<form method="post" action="rg_service_wz.php" name="theForm" enctype="multipart/form-data" onsubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
    <td class="label">{$lang.wzs_name}</td>
    <td><input type="text" name="wzs_name" maxlength="60" size = "30" value="{$service_wz.wzs_name|escape}" />{$lang.require_field}</td>
  </tr>
  <tr>
    <td class="label">类型</td>
    <td>
<select name="wzs_type">
	<option value="1"{if $service_wz.wzs_type == 1} selected{/if}>保修</option>
	<option value="2"{if $service_wz.wzs_type == 2} selected{/if}>保险</option>
</select>
  </td>
  </tr>
  <tr>
    <td class="label"><a href="javascript:showNotice('notice_wzsfee');" title="{$lang.form_notice}">
        <img src="images/notice.gif" width="16" height="16" border="0" alt="{$lang.form_notice}"></a>{$lang.wzs_fee}</td>
    <td><input type="text" name="wzs_fee" maxlength="60" size="30" value="{$service_wz.wzs_fee}" />{$lang.require_field}
    <br /><span class="notice-span" {if $help_open}style="display:block" {else} style="display:none" {/if} id="notice_wzsfee">{$lang.notice_wzsfee}</span>
    </td>
  </tr>
  <tr>
    <td class="label"><a href="javascript:showNotice('notice_freemoney');" title="{$lang.form_notice}">
        <img src="images/notice.gif" width="16" height="16" border="0" alt="{$lang.form_notice}"></a>{$lang.free_money}</td>
    <td><input type="text" name="free_money" maxlength="60" size="30" value="{$service_wz.free_money}" />{$lang.require_field}
    <br /><span class="notice-span" {if $help_open}style="display:block" {else} style="display:none" {/if} id="notice_freemoney">{$lang.notice_freemoney}</span>
    </td>
  </tr>
  <tr>
    <td class="label">{$lang.wzs_desc}</td>
    <td><textarea  name="wzs_desc" cols="60" rows="4">{$service_wz.wzs_desc|escape}</textarea></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
      	<input type="submit" class="button" value="{$lang.button_submit}" />
		<input type="reset" class="button" value="{$lang.button_reset}" />
		<input type="hidden" name="act" value="{$form_action}" />
      	<input type="hidden" name="id" value="{$service_wz.wzs_id}" />
        <input type="hidden" name="old_wzsname" value="{$service_wz.wzs_name}" />
    </td>
  </tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
document.forms['theForm'].elements['wzs_name'].focus();
/**
 * 检查表单输入的数据
 */
function validate()
{
  validator = new Validator("theForm");
  validator.required("wzs_name",  no_wzsname);
  validator.isNumber("wzs_fee",   wzsfee_un_num, 1);
  validator.isNumber("free_money", wzsmoney_un_num, 1);
  return validator.passed();
}

onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}